<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>智能验证码_数美科技</title>
    <link rel="icon" type="image/vnd.microsoft.icon" href="https://castatic.fengkongcloud.com/favicon.ico">
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }
    html,body{
        width: 100%;
        height: 100%;
    }
    .captcha-container{
        position: relative;
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }
    .captcha-container .loading-wrapper{
        width: 100%;
        height: 100%;
        text-align: center;
        background:#fff;
    }
    .captcha-container .loading-wrapper .loading{
        position: absolute;
        top: 30%;
        left:40%;
        width:20%;
        height:20%;
    }
    .captcha-container .loading-wrapper .msg{
        position: absolute;
        top: 60%;
        width: 100%;
    }
    .captcha-container .fresh-wrapper{
        position: absolute;
        top:0%;
        right:2%;
        display: inline-block;
        font-size: 2em;
        color: rgba(0,0,0,0.5);
    }
    .shumei_captcha .shumei_captcha_network_timeout{
        position: absolute;
        top: 50%;
        left: 50%;
        text-align: center;
        width: 100%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    .shumei_captcha_network_timeout a{
        color: #03e5ff;
    }

    /*加载中...*/
    .loader {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin-left:-10px;
        margin-top: -10px;
        font-size: 24px;
        border-radius: 50%;
        -webkit-animation: load5 1.1s infinite ease;
        animation: load5 1.1s infinite ease;
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0) scale(0.4);
        transform: translateZ(0) scale(0.4);
    }

    @-webkit-keyframes load5 {
        0%,
        100% {
            box-shadow: 0em -2.6em 0em 0em #000000, 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.5), -1.8em -1.8em 0 0em rgba(0,0,0, 0.7);
        }
        12.5% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.7), 1.8em -1.8em 0 0em #000000, 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.5);
        }
        25% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.5), 1.8em -1.8em 0 0em rgba(0,0,0, 0.7), 2.5em 0em 0 0em #000000, 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        37.5% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.5), 2.5em 0em 0 0em rgba(0,0,0, 0.7), 1.75em 1.75em 0 0em #000000, 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        50% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.5), 1.75em 1.75em 0 0em rgba(0,0,0, 0.7), 0em 2.5em 0 0em #000000, -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        62.5% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.5), 0em 2.5em 0 0em rgba(0,0,0, 0.7), -1.8em 1.8em 0 0em #000000, -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        75% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.5), -1.8em 1.8em 0 0em rgba(0,0,0, 0.7), -2.6em 0em 0 0em #000000, -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        87.5% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.5), -2.6em 0em 0 0em rgba(0,0,0, 0.7), -1.8em -1.8em 0 0em #000000;
        }
    }
    @keyframes load5 {
        0%,
        100% {
            box-shadow: 0em -2.6em 0em 0em #000000, 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.5), -1.8em -1.8em 0 0em rgba(0,0,0, 0.7);
        }
        12.5% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.7), 1.8em -1.8em 0 0em #000000, 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.5);
        }
        25% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.5), 1.8em -1.8em 0 0em rgba(0,0,0, 0.7), 2.5em 0em 0 0em #000000, 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        37.5% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.5), 2.5em 0em 0 0em rgba(0,0,0, 0.7), 1.75em 1.75em 0 0em #000000, 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        50% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.5), 1.75em 1.75em 0 0em rgba(0,0,0, 0.7), 0em 2.5em 0 0em #000000, -1.8em 1.8em 0 0em rgba(0,0,0, 0.2), -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        62.5% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.5), 0em 2.5em 0 0em rgba(0,0,0, 0.7), -1.8em 1.8em 0 0em #000000, -2.6em 0em 0 0em rgba(0,0,0, 0.2), -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        75% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.5), -1.8em 1.8em 0 0em rgba(0,0,0, 0.7), -2.6em 0em 0 0em #000000, -1.8em -1.8em 0 0em rgba(0,0,0, 0.2);
        }
        87.5% {
            box-shadow: 0em -2.6em 0em 0em rgba(0,0,0, 0.2), 1.8em -1.8em 0 0em rgba(0,0,0, 0.2), 2.5em 0em 0 0em rgba(0,0,0, 0.2), 1.75em 1.75em 0 0em rgba(0,0,0, 0.2), 0em 2.5em 0 0em rgba(0,0,0, 0.2), -1.8em 1.8em 0 0em rgba(0,0,0, 0.5), -2.6em 0em 0 0em rgba(0,0,0, 0.7), -1.8em -1.8em 0 0em #000000;
        }
    }
</style>
<body>
<div id="captcha" class="captcha-container">
    <div class="loading-wrapper">
        <a class="fresh-wrapper" id="refreshBtn">
            <svg class="icon" style="width: 1em; height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1736"><path d="M756.821333 256C691.541333 203.264 601.472 170.666667 512 170.666667a341.333333 341.333333 0 1 0 341.333333 341.333333 42.666667 42.666667 0 0 1 85.333334 0c0 235.648-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333c108.757333 0 217.898667 39.082667 298.666667 104.490667V128a42.666667 42.666667 0 0 1 85.333333 0v170.666667a42.666667 42.666667 0 0 1-42.666667 42.666666h-170.666666a42.666667 42.666667 0 0 1 0-85.333333h74.154666z" p-id="1737"></path></svg>
        </a>
        <div class="loader"></div>
    </div>
</div>
</body>
<script src="https://castatic.fengkongcloud.com/pr/v1.0.3/static/js/zepto.min.js"></script>
<script src="https://castatic.fengkongcloud.com/pr/v1.0.3/smcp.min.js"></script>
<script>
    var errorTipEl = document.getElementById('error-tips');

    window.onload = function () {
        var freshBtn = document.getElementById('refreshBtn');

        if(window.initSMCaptcha === undefined||typeof window.initSMCaptcha !=='function'){
            var err = {
                method:'onError',
                code:'2004',
                message:'初始化失败'
            };
            err = encodeURIComponent(JSON.stringify(err));
            document.location = 'shumei://onresult?data='+err;

            if(errorTipEl) {
                errorTipEl.innerHTML = '加载失败, 请刷新重试';
            }
        }else{
            init();
        }

        /**
         * 绑定刷新按钮
         */
        freshBtn.addEventListener('click', function() {
           location.reload();
        });
    };

    function deliverNativeParams(nativeParams){
        nativeParams = JSON.parse(nativeParams);
        var maxRetryCount = 1
        if (nativeParams.data && nativeParams.data.os == 'android') {
            var version = nativeParams.data && nativeParams.data.sdkver || '',
                oldVersion = '1.2.2';
            version = version.split('.')
            oldVersion = oldVersion.split('.')
            for(var i = 0; i < version.length; i++) {
                if(version[i] < oldVersion[i]) {
                    maxRetryCount = 0;
                    break;
                }else if(version[i] > oldVersion[i]) {
                    break;
                }
            }
        }
        var windowWidth = window.innerWidth || '100%';
        var defaultConf = {
            organization: 'IkzxwQ4vofwwvFqC8ir2', //公司标识
            appId: 'default', //应用
            channel: 'DEFAULT', //渠道
            appendTo:'captcha',//验证码容器id
            https: true,
            customData: {},//预留字段
            maxRetryCount: maxRetryCount
        };

        initSMCaptcha($.extend(defaultConf, nativeParams, {
            https: nativeParams.https == false ? false : true,
            product: "embed",
            width: windowWidth,
            customData: nativeParams.data,
            //监听异常
            onError:function (errType,errmMsg) {
                var errObj = {};

                errObj.method = 'onError';
                errObj.detail = errmMsg;

                document.location = 'shumei://onresult?data='+encodeURIComponent(JSON.stringify(errObj));

                if(errorTipEl) {
                    errorTipEl.innerHTML = '加载失败, 请刷新重试';
                }
            }
        }), function (SMCaptcha) {
            window.SMCaptcha = SMCaptcha;
            //验证结果
            SMCaptcha.onSuccess(function(){
                var result = SMCaptcha.getResult();
                result.method="onSuccess";
                result = encodeURIComponent(JSON.stringify(result));
                document.location = 'shumei://onresult?data='+result;
            });
            //监听异常
            SMCaptcha.onError(function (err,detail) {
                var errObj = {};

                errObj.method = 'onError';
                errObj.code = detail.code;
                errObj.message = detail.message;

                document.location = 'shumei://onresult?data='+encodeURIComponent(JSON.stringify(errObj));
            });
            //ready
            SMCaptcha.onReady(function () {
                var result = {
                    method:'onReady'
                };
                result = encodeURIComponent(JSON.stringify(result));
                document.location = 'shumei://onresult?data='+result;
            })
        });
    }
    function init() {
        document.location = "shumei://requestnativeparams"
        // deliverNativeParams('{"mode":"spatial_select","data":{"os":"android","sdkver":"1.2.4"},"organization":"IY3HadrRSlgwwKWo63gi","appId":"Yiban_Android","https":true}');
    }
</script>
</html>
